module.exports = app => {
    const mongoose = app.mongoose;
    const PlaceSchema = new mongoose.Schema({
        userId: String,
        code: String,
        name: String,
        status: Number
    },
        { collection: 'money_place' })

    return mongoose.model('Place', PlaceSchema);
}